using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using System.Text;
using System.Linq;
using WLYT.Domain.Model;
using WLYT.Domain.ApiModel;

namespace WLYT.Application.Interfaces
{
    public interface IInventoryService : IBaseService<Inventory>
    {
        Task<Tuple<IList<Inventory>, int>> GetModelsByPageAsync(string itemCode, string labelId, string originalCode, int? minQty, int? maxQty, string location, string wareCode, int? status, int pageSize, int pageIndex);
        Task<Tuple<IList<object>, int>> GetMaterialsByPageAsync(string itemCode, string wareCode, int pageSize, int pageIndex);
        Task<ApiResult> Move(ApiOrderModel model);
        Task<bool> In(ApiOrderModel model);
        Task<bool> Out(ApiOrderModel model);
    }
}